
#ifndef __HTTP_CLIENT_H_
#define __HTTP_CLIENT_H_

#include <string>
#include <map>

using namespace std;

const string httpErrorStr = "error";

size_t writeData(void* buffer, size_t size, size_t nmemb, void* userp);

string doPutFile(string httpAddress, string filePath);


string doPost(string httpAddress, string reqBody, map<string, string> headMap);

#endif
